BINARY = Slave

CC = g++ 
OPTS = -O2
SRC = Slave.cpp Master_Socket.cpp ../Socket/Socket.cpp

INC = 
LIBS = 

OBJS = $(SRC:.cpp=.o)

# Compile basic source files
.cpp.o:
	$(CC) $(OPTS) $(INC) -c $< -o $@

# Linker
$(BINARY): $(OBJS)
	$(CC) $(OPTS) -o $(BINARY) $(OBJS) $(LIBS)
	@echo Binary Created!!

clean:
	set nonomatch; rm -f $(BINARY) *.o 

print:
	lp $(SRC)

